package com.taiyo.modules.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.taiyo.modules.api.dao.TIdentityItemDao;
import com.taiyo.modules.api.entity.TIdentityItemEntity;
import com.taiyo.modules.api.service.TIdentityItemService;



@Service("tIdentityItemService")
public class TIdentityItemServiceImpl implements TIdentityItemService {
	@Autowired
	private TIdentityItemDao tIdentityItemDao;
	
	@Override
	public TIdentityItemEntity queryObject(Long id){
		return tIdentityItemDao.queryObject(id);
	}
	
	@Override
	public List<TIdentityItemEntity> queryList(Map<String, Object> map){
		return tIdentityItemDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tIdentityItemDao.queryTotal(map);
	}
	
	@Override
	public void save(TIdentityItemEntity tIdentityItem){
		tIdentityItemDao.save(tIdentityItem);
	}
	
	@Override
	public void update(TIdentityItemEntity tIdentityItem){
		tIdentityItemDao.update(tIdentityItem);
	}
	
	@Override
	public void delete(Long id){
		tIdentityItemDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		tIdentityItemDao.deleteBatch(ids);
	}
	
}
